<script src="<{$config.weburl}>/script/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="<{$config.weburl}>/script/my_lightbox.js" language="javascript"></script>
<script type="text/javascript" charset="utf-8" src="<{$config.weburl}>/script/district.js" ></script>
<script type="text/javascript" src="<{$config.weburl}>/script/jquery.validation.min.js"></script>
<script language="javascript">
	var weburl="<{$config.weburl}>";

</script>

<header>
	<div class="nav-w">
    	<section class="nav-s"><a href="<{$config.weburl}>/main.php"><nav>用户中心</nav></a></section>
    	<section class="nav-c"><span>基本资料</span></section>
    	<section class="nav-e"></section>
    </div>
</header>
<link href="<{$config.weburl}>/templates/wap/css/orderadder.css" rel="stylesheet" type="text/css" />
<section class="orderadder">
	<form id="form" name="form" action="" method="post">
		<input name="logo" type="hidden" id="logo" value="<{$de.logo}>">
		<input type="hidden" value="<{$smarty.get.m}>" name="m">
		<input type="hidden" value="<{$smarty.get.s}>" name="s">
		<input type="hidden" name="uid" value="<{$buid}>" />
		<input type="hidden" value="wap_submit" name="submit">

		<dl>
			<dt class="wap_member_logo">
				<img id="logo_img" src="<{if $de.logo}><{$de.logo}><{else}><{$config.weburl}>/image/default/user_admin/default_user_portrait.gif<{/if}>" height="60" width="60" />
				<a href="javascript:uploadfile('LOGO','logo',60,60,'member')"><{$lang.upload}></a>
			</dt>
		</dl>
		<div class="clearfix"></div>

		<dl>
			<dt>用户名称：</dt>
			<dd><input type="text" maxlength="60" name="user" readonly value="<{$smarty.cookies.USER}>"> <div id="form-error" class="form-error"></div></dd>
		</dl>
		<dl>
			<dt>真实姓名：</dt>
			<dd><input type="text" name="name" id="name" maxlength="18" value="<{$de.name}>"><div id="form-error" class="form-error"></div></dd>
		</dl>

		<dl>
			<dt>手机：</dt>
			<dd><input type="text" name="mobile" id="mobile" maxlength="18" value="<{$de.mobile}>"><div id="form-error" class="form-error"></div></dd>
		</dl>

		<dl>
			<dt>所在区域：
				<input type="hidden" name="t" id="t" value="<{$de.area}>" />
				<input type="hidden" name="provinceid" id="id_1" value="<{$de.provinceid}>" />
				<input type="hidden" name="cityid" id="id_2" value="<{$de.cityid}>" />
				<input type="hidden" name="areaid" id="id_3" value="<{$de.areaid}>" />
			</dt>
			<{if $de.area}>
			<dd id="d_1"><{$de.area}>&nbsp;&nbsp;<a href="javascript:sd();">编辑</a></dd><{/if}>
			<dd id="d_2" class="<{if $de.area}>hidden<{/if}>">
				<select id="select_1" name="select_1" onChange="selClass(this);">
					<option value="">--请选择--</option>
					<{$prov}>
				</select>
				<select id="select_2" name="select_2" onChange="selClass(this);" class="hidden"></select>

				<select id="select_3" name="select_3" onChange="selClass(this);" class="hidden"></select>
				<div id="form-error" class="form-error"></div>
			</dd>
		</dl>
		<dl>
			<dt>详细信息：</dt>
			<dd>
				<input type="text" value="<{$de.area}>" name="area" id="area"><div id="form-error" class="form-error"></div>
			</dd>
		</dl>

		<dl>
			<dt>QQ：</dt>
			<dd>
				<input type="text" value="<{$de.qq}>" name="qq" ><div id="form-error" class="form-error"></div>
			</dd>
		</dl>

		<input type="submit" value="保存" class="submit">
	</form>
</section>